//
//  Album.m
//  MantuPlay
//
//  Created by Markus Sintonen on 4.4.2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "Album.h"
#import "NSArrayExtensions.h"

@implementation Album

@synthesize albumArtist, isCompilation;

-(id)init {
	self = [super init];
	if (self != nil) {
		self.albumArtist = [NSString string];
		self.isCompilation = NO;
	}
	return self;
}
-(id)initWithAlbum:(Album*)album {
	self = [super init];
	if (self != nil) {
		self.title = album.title;
		self.ID = album.ID;
		self.albumArtist = album.albumArtist;
		self.isCompilation = album.isCompilation;
	}
	return self;
}

- (void)dealloc {
	[albumArtist release];
	[super dealloc];
}
@end
